home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’97
/
Animated Icons
/
Source
/
PP Basic Starter.h
< prev
next >
Wrap
Text File
|
1997-06-11
|
930b
|
30 lines
// ===========================================================================
// PP Basic Starter.h ©1994-1997 Metrowerks Inc. All rights reserved.
// ===========================================================================
#pragma once
#include <LApplication.h>
class CPPStarterApp : public LApplication, LPeriodical {
public:
CPPStarterApp(); // constructor registers all PPobs
virtual ~CPPStarterApp(); // stub destructor
// this overriding function performs application functions
virtual Boolean ObeyCommand(CommandT inCommand, void* ioParam);
// this overriding function returns the status of menu items
virtual void FindCommandStatus(CommandT inCommand,
Boolean &outEnabled, Boolean &outUsesMark,
Char16 &outMark, Str255 outName);
virtual void SpendTime(
const EventRecord &inMacEvent);
protected:
virtual void StartUp(); // overriding startup functions
};